package top.yangbuyi.service.impl;

import top.yangbuyi.domain.OperLog;
import com.baomidou.mybatisplus.extension.service.IService;
import top.yangbuyi.dto.OperLogDto;
import top.yangbuyi.vo.DataGridView;

/**
 * ClassName: Loginfo
 * Description: 杨不易网站 :www.yangbuyi.top
 * date: 2020/9/1
 *
 * @author TeouBle
 * @author yangbuyi
 * @since JDK 1.8
 * @OperLogService: 日志业务层|增删改查
 **/

public interface OperLogService {

	  /**
	   * 插入操作日志
	   *
	   * @param operLog
	   */
	  void insertOperLog(OperLog operLog);

	  /**
	   * 分页查询操作日志
	   *
	   * @param operLogDto
	   * @return
	   */
	  DataGridView listForPage(OperLogDto operLogDto);

	  /**
	   * 根据ID删除操作日志
	   *
	   * @param infoIds
	   * @return
	   */
	  int deleteOperLogByIds(Long[] infoIds);

	  /**
	   * 清空操作日志
	   *
	   * @return
	   */
	  int clearAllOperLog();


}
